
/* =========================================
   VOLUNTEER PAGE
========================================= */

:root {
  --volunteer-maroon: #63111c;
  --volunteer-gold: #d9a441;
  --volunteer-dark: #241316;
  --volunteer-light: #fffaf5;
}

/* =========================================
   HERO SECTION
========================================= */

.menu-hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(35, 5, 10, 0.78), rgba(35, 5, 10, 0.78)),
    url("../image/KS Logo.png") center/cover no-repeat;
  overflow: hidden;
}

.menu-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 17, 28, 0.78),
    rgba(20, 10, 10, 0.72)
  );
}

.menu-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 15px;
  color: #fff;
}

.menu-eyebrow {
  display: inline-block;
  color: var(--volunteer-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.menu-hero-content h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 65px);
  font-weight: 800;
  margin-bottom: 12px;
}

.menu-hero-content h1 span {
  color: var(--volunteer-gold);
}

.menu-hero-content > p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 25px;
}

.menu-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
}

.menu-breadcrumb a {
  color: var(--volunteer-gold);
  text-decoration: none;
}

.menu-breadcrumb span {
  color: #fff;
}

/* =========================================
   VOLUNTEER SECTION
========================================= */

.volunteer-section {
  padding: 90px 0;
  background: var(--volunteer-light);
}

.menu-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.menu-section-tag {
  display: inline-block;
  color: var(--volunteer-maroon);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 13px;
}

.menu-heading h2 {
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 800;
  color: var(--volunteer-dark);
  margin-bottom: 15px;
}

.menu-heading h2 em {
  color: var(--volunteer-maroon);
  font-style: normal;
  position: relative;
}

.menu-heading p {
  color: #777;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}


/* =========================================
   VOLUNTEER GRID
========================================= */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 29px;
}


/* =========================================
   VOLUNTEER CARD
========================================= */

.menu-item {
  position: relative;
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid rgba(99, 17, 28, 0.08);
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
}

.menu-item:hover {
  transform: translateY(-9px);
  box-shadow: 0 15px 35px rgba(99, 17, 28, 0.15);
  border-color: rgba(217, 164, 65, 0.6);
}


/* Volunteer Image */

.menu-item img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.menu-item:hover img {
  transform: scale(1.06);
}


/* Volunteer Name */

.menu-item h3 {
  position: relative;
  color: var(--volunteer-maroon);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 12px;
  margin: 19px 0 0;
  min-height: 24px;
  transition: color 0.3s ease;
}

.menu-item:hover h3 {
  color: #eeebe6;
}


/* Gold Line */

.menu-item h3::after {
  content: "";
  display: block;
  width: 35px;
  height: 2px;
  background: var(--volunteer-gold);
  margin: 10px auto 0;
  transition: width 0.3s ease;
}

.menu-item:hover h3::after {
  width: 65px;
}


/* =========================================
   FOOTER SOCIAL ICONS
========================================= */

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 19px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  /* background: var(--volunteer-gold);  */
  color: var(--volunteer-maroon);
  transform: translateY(-4px);
}


/* =========================================
   BACK TO TOP
========================================= */

#backToTop {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--volunteer-maroon);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#backToTop:hover {
  background: var(--volunteer-gold);
  color: var(--volunteer-maroon);
  transform: translateY(-5px);
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

/* Laptop */
@media (max-width: 1199px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .menu-item img {
    height: 260px;
  }
}


/* Tablet */
@media (max-width: 991px) {
  .menu-hero {
    min-height: 340px;
  }

  .volunteer-section {
    padding: 70px 0;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .menu-item img {
    height: 280px;
  }
}


/* Mobile */
@media (max-width: 575px) {
  .menu-hero {
    min-height: 300px;
  }

  .menu-hero-content {
    padding: 65px 10px;
  }

  .menu-eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .menu-hero-content > p {
    font-size: 14px;
  }

  .volunteer-section {
    padding: 55px 0;
  }

  .menu-heading {
    margin-bottom: 35px;
  }

  .menu-heading p {
    font-size: 13px;
    padding: 0 10px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .menu-item {
    border-radius: 10px;
    padding-bottom: 13px;
  }

  .menu-item img {
    height: 190px;
  }

  .menu-item h3 {
    font-size: 13px;
    padding: 0 6px;
    margin-top: 13px;
  }

  #backToTop {
    width: 40px;
    height: 40px;
    right: 15px;
    bottom: 15px;
  }
}


/* Small Mobile */
@media (max-width: 360px) {
  .menu-grid {
    gap: 10px;
  }

  .menu-item img {
    height: 155px;
  }

  .menu-item h3 {
    font-size: 12px;
  }
}










/* =========================================
   VOLUNTEER HOVER DETAILS
========================================= */

.menu-item {
  cursor: pointer;
}

/* Details Overlay */
.volunteer-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 25px 12px 20px;
  color: #fff;
  text-align: center;

  background: linear-gradient(
    to top,
    rgba(7, 3, 4, 0.98),
    rgba(99, 17, 28, 0.92),
    transparent
  );

  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s ease;
}

/* Show details on hover */
.menu-item:hover .volunteer-info,
.menu-item:focus-within .volunteer-info {
  transform: translateY(0);
  opacity: 1;
}

.volunteer-info h3 {
  color: var(--volunteer-gold);
  font-size: 18px;
  margin: 0 0 8px;
  padding: 0;
}

.volunteer-info h3::after {
  display: none;
}

.volunteer-info p {
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  margin: 4px 0;
}

.volunteer-info strong {
  color: var(--volunteer-gold);
}

/* Mobile: details remain visible */
@media (max-width: 575px) {
  .volunteer-info {
    padding: 12px 6px;
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(36, 19, 22, 0.96),
      rgba(99, 17, 28, 0.55)
    );
  }

  .volunteer-info h3 {
    font-size: 12px;
  }

  .volunteer-info p {
    font-size: 10px;
    line-height: 1.4;
  }
}












.volunteer-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;

  padding: 20px 15px;
  text-align: left;

  background: linear-gradient(
    to top,
    rgba(36, 19, 22, 0.98),
    rgba(99, 17, 28, 0.85),
    transparent
  );

  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s ease;
}

.menu-item:hover .volunteer-info {
  transform: translateY(0);
  opacity: 1;
}

.volunteer-info h3 {
  width: 100%;
  color: #d9a441;
  text-align: left;
  margin: 0 0 8px;
  padding: 0;
}

.volunteer-info p {
  width: 100%;
  color: #fff;
  text-align: left;
  font-size: 12px;
  margin: 4px 0;
  line-height: 1.5;
}

.volunteer-info h3::after {
  display: none;
}